package com.ctshk.rpc.scenic.req;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 缓存场次票数,实现前端购物车效果
 * </p>
 *
 * @author 谢涛
 * @since 2021-03-19
 */
@Data
public class TicketTypeLuckDrawCacheReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "前端生成的uuid不能为空")
    @ApiModelProperty(value = "前端生成的uuid")
    private String uuid;

    @NotNull(message = "场次id不能为空")
    @ApiModelProperty(value = "场次id")
    private String id;

    @ApiModelProperty(value = "加减后的票数")
    private Integer number;

}
